﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MS.Data.ErrorCode
{
    /// <summary>
    /// API
    /// </summary>
    public class APIResult<T>
    {
        /// <summary>
        /// 消息
        /// </summary>
        public string mes {  get; set; }
        /// <summary>
        /// 状态码
        /// </summary>
        public APIEnum code { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T data { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }
    }
}
